window.onload=function ()
{
    var vue = new Vue({
        el:"#app",
        data:{
            seller:{}
        },
        methods:{
            save:function ()
            {
                axios.post("/seller/save",this.seller).then(function (response)
                {
                    if(response.data)
                    {
                        location.href="/shoplogin.html";
                    }
                    else
                    {
                        alert("入驻失败！");
                    }
                })
            }
        }
    });
};